private DefaultExpander getExpander(BRMSPackageBuilder builder,
AssetItem asset,
ContentPackageAssembler.ErrorLogger logger) {
if ( !builder.hasDSL() ) {
logger.logError( new ContentAssemblyError( asset,
"This rule asset requires a DSL, yet none were configured in the package." ) );
}
return builder.getDSLExpander();
}