Convert ferm rules to support IPv6