Is there a rule to prevent infinite games?
This is covered in the rules  


  A draw may be agreed if both players are in a position where they are
  forced to move the same two pieces over and over again, without any
  possibility of the stalemate being resolved.