First version of rating filter