block Block All activity for range of IPs

Hello,
I have Microtik 4.9 with hotspot accounts
Please, help me to block all activity for range of IPs (eg.192.168.1.2-192.168.1.30) on firewall roules

/ip firewall address-list
:for LASTOCTET from=2 to=30 step=1 do={
add list=blockedClients address="192.168.1.$LASTOCTET";
}
/ip firewall filter
add chain=input action=drop src-address-list=blockedClients
add chain=output action=drop dst-address-list=blockedClients
add chain=forward action=drop src-address-list=blockedClients
add chain=forward action=drop dst-address-list=blockedClients

Make sure the filter rules are above anything that might permit that traffic.

how to make the rule above everything?

Drag and drop it in Winbox, or use the CLI:

/ip firewall filter move [oldid] [newid]