add_rule works