fixed a problem: when no rules are specified it tried removing egress rules as if they were ingress rules