Added the option for specifying user rules

This is bound to change in the future. I would like to have a cleaner implementation