How many different rectangles with sides parallel to the grid can be formed by connecting four of the dots in a 4*4 square array of dots, as in the figure below?
https://latex.artofproblemsolving.com/a/4/a/a4a59568ea933ddf215ba70b428ac6b8615d7cb2.png
(Two rectangles are different if they do not share all four vertices.)