Adding rules map support

Possibility to specify rules as an object map with the possibility to add more rules as a late binding. With this, it could even be possible to remove rules dynamically as well. Useful for dynamic apps.