Fixed some bugs, added the rules page