Fix validattion rule class error