Rename rules.py to offlinePython/rules.py