Rules are simple - keep the red square away from all the moving blue rectangles and stay away from the walls. The longer you last, the higher your score. But the longer you last, the faster the blue rectangles move!
This Game is probably the simplest and the most frustrating game you will find on App Store.