refactor(rating): evaluate attributes inside init function

Closes #1590
Closes #1768