add rule.