validation for rating only integers