Added rules to firewall

Added capability for firewalls to contain their rules
Ref #768