firewall: rules.pl: Catch invalid configurations.