This article explains how to enable customer product rating only. This means that only user who bought the product can leave a comment.