[COOK-4648] rule_exists? checks rule direction

If the new rule direction is out, the regex for checking the rule is
already applied verifies with the Action regex set to "ALLOW OUT" so
it's not checked against an incoming rule.