Changed rating type from int to float
Fixed #7