Rule 1:
From left to right, the square moves one place anticlockwise each time. This pattern continues onto the next row.
Rule 2:
From top to bottom, the arrow moves in a vertical line, moving one place each time. In the first column it moves on the right vertical, in the next on the middle and in the last on the left vertical.
Rule 3:
From left to right, the arrow changes direction in each column.