Convert neutron security group rules into NSX format.
This routine splits Neutron security group rules into two lists, one for ingress rules and the other for egress rules.
Remove rule by rule_id.
This function receives all of the current rule associated with a security group and then removes the rule that matches the rule_id. In addition it removes the id field in the dict with each rule since that should not be passed to nsx.