Some updates in the source file.
Added rules.py into the library. As usual, you are a research assistant
here, and therefore you should worry about nothing but your research. Of
course , there is the workload. Keep moving. Keep moving!

By Abraham Xiao @ Masdar Institute.