add rating filter with checkboxes
a little bit of refractoring