(fixed) improper $rules field data type in models