ruleDescr.addAttribute( new AttributeDescr("dialect", "java") );
final TypeResolver typeResolver = new ClassTypeResolver( new HashSet(),
this.getClass().getClassLoader() );
// make an automatic import for the current package
typeResolver.addImport( pkgDescr.getName() + ".*" );
typeResolver.addImport( "java.lang.*" );
final RuleBuilder builder = new RuleBuilder( );
final PackageBuilder pkgBuilder = new PackageBuilder(pkg);