rules can be added, updated and deleted