Add abstract interface for Rule and RuleParser classes.