Integral Points and Rectangles