Create Rule.py

Moving Rule.py to the app.models folder.