public Set<String> getConsumedModelClasses() {
final Set<String> factTypes = new HashSet<String>();
//Extract Fact Types from model
if ( model.lhs != null ) {
for ( int i = 0; i < model.lhs.length; i++ ) {
IPattern pattern = model.lhs[ i ];
factTypes.addAll( visit( pattern ) );
}
}
if ( model.rhs != null ) {
for ( int i = 0; i < model.rhs.length; i++ ) {