AssetItem item = pkg.loadAsset( assetName );
ContentHandler handler = ContentManager.getHandler( item.getFormat() );//new AssetContentFormatHandler();
StringBuffer buf = new StringBuffer();
if ( handler.isRuleAsset() ) {
BRMSPackageBuilder builder = new BRMSPackageBuilder( );
//now we load up the DSL files
builder.setDSLFiles( BRMSPackageBuilder.getDSLMappingFiles( item.getPackage(),
new BRMSPackageBuilder.DSLErrorEvent() {
public void recordError(AssetItem asset,
String message) {
//ignore at this point...
}