purge ipv4 and ipv6 of unwanted rules