Added a function [String getPredicates()]to the DB-class that returns all predicates