Route Filter v6 to v7

Can someone help me convert this from v6 to v7 I’m mainly struggling with the prefix length

/routing filter
add action=discard address-family=ip chain=dn42-in prefix=192.168.0.0/16 prefix-length=16-32 protocol=bgp
add action=discard address-family=ip chain=dn42-in prefix=169.254.0.0/16 prefix-length=16-32 protocol=bgp
add action=discard address-family=ip chain=dn42-out prefix=192.168.0.0/16 prefix-length=16-32 protocol=bgp
add action=discard address-family=ip chain=dn42-out prefix=169.254.0.0/16 prefix-length=16-32 protocol=bgp

discard is not supported in v7

if (dst in 192.168.0.0/16 && dst-len in 16-32) {reject}

An useful pointer:
http://forum.mikrotik.com/t/ros7-and-routing-filters/160081/1