Add method delete_rule