Added mock helpers to RulesTestBase.
Merge pull request #39 from fubhy/add-mock-helpers-to-test-base

Added mock helpers to RulesTestBase.
Fixing typos in ContextAwarePluginBase.
Pass context to conditon plugin in condition expression.