Rule 1:
From left to right, the number of the squares in the upper row increase by one, in the middel row – by two and in the bottom row – by three.
Rule 2:
From top to bottom, the number of the squares in the left column increase by one, in the middel column – by two and in the right column – by three. Notice: The missing cell completes the pattern.