Adding the rule interface.