Gamerules added

Game now works, just some bugfixing and optimizing to go.