protected String buildAssetSource(RuleAsset asset) throws SerializationException {
ContentHandler handler = ContentManager.getHandler(asset.getFormat());
StringBuilder stringBuilder = new StringBuilder();
if (handler.isRuleAsset()) {
BRMSPackageBuilder builder = new BRMSPackageBuilder();
// now we load up the DSL files
PackageItem packageItem = rulesRepository.loadPackage(asset.getMetaData().getPackageName());
builder.setDSLFiles(DSLLoader.loadDSLMappingFiles(packageItem));
if (asset.getMetaData().isBinary()) {
AssetItem item = rulesRepository.loadAssetByUUID(
asset.getUuid());
handler.storeAssetContent(asset,