adding rule predicate persistance in mongo