public void RemoveRule(IRule rule)
 {
     rules.Remove(rule);
 }
 public void AddRule(IRule rule)
 {
     rules.Add(rule);
 }