Removing duplicate rating case statement