[Closes #160] Rules config as maps

Specs are wrong in this module