changing $keys to $rules, adding readable
update validation tests