added removeRule for validator