how to add dynamically marked route prefixes in bgp into IP/Firewall/Addresslist

hi,

I have marked received prefixes in bgp from my peers but i want to add them dynamically into ip/firewall/address list..how can i
add those routes into that..I have used lots of scripts but its not helping me .So if anybody have correct scripts then please help me out .


Thanks.