Rename rate.py and be careful with settings import.