Create rules.py