variable in firewall/nat rule

Hi,

is it possible to use a variable in an ip firewall/nat rule, like an ip adress (public…)?
Are there available variables in mikrotik router os?

Thanks

try address-lists, they can be dynamic

ex. if tcp.port = 80 then, add host to address-list