ContentHandler handler = ContentManager
.getHandler( asset.metaData.format );
StringBuilder stringBuilder = new StringBuilder();
if (handler.isRuleAsset()) {
BRMSPackageBuilder builder = new BRMSPackageBuilder();
// now we load up the DSL files
PackageItem packageItem = getRulesRepository().loadPackage(
asset.metaData.packageName );
builder.setDSLFiles( DSLLoader.loadDSLMappingFiles( packageItem ) );
if ( asset.metaData.isBinary() ) {
AssetItem item = getRulesRepository().loadAssetByUUID(
asset.uuid );
handler.storeAssetContent(asset,