Add ability to add rules

explain?