/// <summary>
 /// Adds new rule to list
 /// </summary>
 public void AddRule(ValidationRule validationRule)
 {
     FormValidator.CheckThread();
     validationRules.Add(validationRule);
 }
 /// <summary>
 /// Adds new rule to list
 /// </summary>
 public void AddRule(ValidationRule validationRule)
 {
     FormValidator.CheckThread();
     validationRules.Add(validationRule);
 }