docs: public void init(final DroolsAssemblerContext kBuilder,
                       final InternalKnowledgePackage pkg,
                       final BaseDescr parentDescr,
                       final DialectCompiletimeRegistry dialectRegistry,
                       final Dialect defaultDialect,
                       final Dialectable component) {
          this.kBuilder = kBuilder;
          this.pkg = pkg;
          this.parentDescr = parentDescr;
          this.dialectRegistry = dialectRegistry;
          this.dialect = (component != null && component.getDialect() != null) ? this.dialectRegistry.getDialect( component.getDialect() ) : defaultDialect;
          this.typesafe = ((MVELDialect) dialectRegistry.getDialect( "mvel" )).isStrictMode();
  
          if ( dialect == null && (component != null && component.getDialect() != null) ) {
              this.errors.add( new DescrBuildError( null,
                                                    parentDescr,
                                                    component,
                                                    "Unable to load Dialect '" + component.getDialect() + "'" ) );
              // dialect is null, but fall back to default dialect so we can attempt to compile rest of rule.
              this.dialect = defaultDialect;
          }
      }