Implemented the predicates parser