BGP ver7.10.2 HELP NEEDED receive only default route from ISP

Hello all
I have recently migrated to ver7 and am I trying to set the filters to only receive the default route from an upstream ISP, but can not seem to come right
Below are 2 of the filters I have tried, I was doing this with ver6 and had no problems. I am not that fluent with BGP so any help would be much appreciated
Thanks

VER 7 Filter
add chain=ETLIN disabled=no rule=“if (dst == 0.0.0.0/0) { set bgp-local-pref 300; accept; }”
add chain=ETLIN disabled=no rule=“reject;”

add chain=ETLIN2 disabled=no rule=“if (dst in 0.0.0.0/0 ) {reject;}”
add chain=ETLIN2 disabled=no rule=“reject;”


VER 6 filter worked fine
add action=accept chain=ETLIN prefix=0.0.0.0/0 set-bgp-local-pref=300 set-bgp-prepend=2
add action=discard chain=ETLIN

Try with this:

if ( dst in 0.0.0.0/0 && dst-len == 0) { accept;}

You don’t need the reject line, as it rejects by default.

Use this instead, simpler arithmetical operation.

if (dst==0.0.0.0/0) {accept} else {reject}

if (dst == 0.0.0.0/0) { set bgp-local-pref 300; accept; } else {reject}