Rewrite of CPPredicateEditor and CPRuleEditor Cappuccino classes