[DROOLS-7] fix declared type stringification for circular type declarations