Convert rating to internal scale