Added method to get rules for the API
Merge branch 'master' of https://github.com/michboon/comp2014