unsetting required fields in the comment reply form

Easiest way to handle hiding the display is to use css. Your “reply to” form is probably displayed inside of a comment div or has some class identifying it as a comment reply.

You still might need to handle the check on the server side to make the rating field to be not required when a comment has a parent comment.