predicateMap bugfix, code formatting

* changed wrong rr:predicate to rr:predicateMap
* code reformatting