Add implementation of rule.