refactor(rating): simplify directive based on the review