Rules are very simple! Just click the space bar to jump over the obstacles. Also, don't run into the rock- that is the obstacle.
I used the idea from the game that you play when you have no internet, Dino run.