[Closes #160] Rules config as maps