MDRRuleGroupInstanceUtil.fetchByUUID_G(
<BUG>mdrRuleGroupInstance.getUuid(),
portletDataContext.getScopeGroupId());</BUG>
if (existingMDRRuleGroupInstance == null) {
<BUG>serviceContext.setUuid(mdrRuleGroupInstance.getUuid());
importedMDRRuleGroupInstance =
MDRRuleGroupInstanceLocalServiceUtil.addRuleGroupInstance(</BUG>
portletDataContext.getScopeGroupId(),
<BUG>mdrRuleGroupInstance.getClassName(), classPK,

newRuleGroupId, mdrRuleGroupInstance.getPriority(),
serviceContext);</BUG>
}

MDRRuleGroupInstanceUtil.fetchByUUID_G(
ruleGroupInstance.getUuid(),
portletDataContext.getScopeGroupId());
if (existingMDRRuleGroupInstance == null) {
serviceContext.setUuid(ruleGroupInstance.getUuid());
importedRuleGroupInstance =
MDRRuleGroupInstanceLocalServiceUtil.addRuleGroupInstance(
portletDataContext.getScopeGroupId(),
ruleGroupInstance.getClassName(), classPK, ruleGroupId,
ruleGroupInstance.getPriority(), serviceContext);
}
