Added Rules variations of the ContextAwarePlugin base class and interface.