move ratings directive to src folder