Revised firewall removing duplicate rules