private bool _SaveSingleRule(RuleObject ruleObject) { return(XmlTool.ReplaceXmlData(ERuleParam4Editor.RuleConfigUrlForEditor, ruleObject, string.Format("root/node[@id='{0}']", ruleObject.RuleHost.RuleID))); }
private bool _OutputSingleRule(CRule rule) { return(XmlTool.ReplaceXmlData(ERuleParam4Editor.RuleConfigUrl, rule, string.Format("root/node[@id='{0}']", rule.RuleID))); }