Add ability to add rules