Modified the test for a rule to allow for an in/out version of the rule ...

...as well as adding some instructions for using the script and allowing an end user to specify the direction of the rule as well