Fix typo in Rate class