Added 'flags' field to Predicate and Role classes and their XML serialization