Filter model working with arbitrary predicates. The exact predicates moved to the data manager view.

Signed-off-by: Rostislav Khlebnikov <r.khlebnikov@gmail.com>