Label predicates now have a reference to the model
Implemented filtering by parent name
applyTo also gets a model reference
Implemented all the remaining types for applyTo