RuleBuildContext context = new RuleBuildContext( this,
dummy,
ctr,
pkg,
ctr.getDialect( pkgRegistry.getDialect() ) );
final RuleConditionBuilder builder = (RuleConditionBuilder) context.getDialect().getBuilder( wd.getPattern().getClass() );
if (builder != null) {
final Pattern pattern = (Pattern) builder.build( context,
wd.getPattern(),
null );
window.setPattern( pattern );
} else {