BUILD_INDEX.py: add ratings