minor grep cleanup and added a check if the firewall is enabled before checking for rule entries