Fixing issue with rules file not replacing loc with the correct string for blocked loc ips