Trying to fix validator for :rate