RuleSet IRuleSetSerializer.LoadRuleSet(string path) { RuleSet rs = null; this.savedRuleSets.TryGetValue(path, out rs); int counter = 0; this.ruleSetLoaded.TryGetValue(path, out counter); this.ruleSetLoaded[path] = ++counter; rs?.Validate(); return rs; }