ROS7 & bgp-as-path

Hi all,
And please help!

How in ROS7 /routing/filter/rule add rule, where bgp-as-path blocks range ASn 64512-65534 ?

I would be grateful for a example.

/routing filter num-list
add comment="RFC 6996" list=BOGON-AS range=64512-65534
/routing filter rule
add chain=your_chain disabled=no rule="if (bgp-as-path [[:BOGON-AS:]]) {reject}"

baragoon, thank you so much!