class RuleCompatibleHelper {

    public static String compatibleRule(String ruleStr) {
        ruleStr = StringUtils.replace(ruleStr, RULE_INTERACT_ROOT_NAME, RULE_CURRENT_ROOT_NAME);
        ruleStr = StringUtils.replace(ruleStr, RULE_INTERACT_TABLE_NAME, RULE_CURRENT_TABLE_NAME);

        ruleStr = StringUtils.replace(ruleStr, RULE_LE_ROOT_NAME, RULE_CURRENT_ROOT_NAME);
        ruleStr = StringUtils.replace(ruleStr, RULE_LE_TABLE_NAME, RULE_CURRENT_TABLE_NAME);

        // ruleStr = StringUtils.replace(ruleStr, RULE_LE2_ROOT_NAME,
        // RULE_CURRENT_ROOT_NAME);
        ruleStr = StringUtils.replace(ruleStr, RULE_LE2_TABLE_NAME, RULE_CURRENT_TABLE_NAME);
        return ruleStr;
    }

}