Glade you found the info helpful.
I do not have any coding or scripting skills.
Just trying to do the best I can.
Glade I could help.
Not sure if the location block is a ipsets?
And a fire wall group of location is not?
A ipset would use less resources.
Atleast that is my understanding.