public QualityProfile AddRule(Rule rule) { this.activeRules.Add(rule); return this; }
public Repository AddRule(string ruleKey, string internalKey) { Rule newRule = new Rule(ruleKey, internalKey, this); this.rules.Add(newRule); return this; }