String key = m_metricConfigManager.buildMetricKey(payload.getDomain(), payload.getType(), payload.getMetricKey());
Rule rule = m_businessRuleConfigManager.queryRule(payload.getProductLineName(), key);
if (rule != null) {
ruleId = rule.getId();
configHeader = new DefaultJsonBuilder(true).buildArray(rule.getMetricItems());
configsStr = new DefaultJsonBuilder(true).buildArray(rule.getConfigs());
}
String content = m_ruleDecorator.generateConfigsHtml(configsStr);
model.setId(ruleId);
model.setConfigHeader(configHeader);