Added method for mocking a rule to unit test base.
Merge pull request #33 from fubhy/add-mocked-rule-to-test-base

Added mocked test rule to unit test base.