Adds rules management.