The Line, Rect and Oval tools all work on the same principle. Simply click and drag out their respective shapes.
	The Rect tool contains many of the NeXTstep user interface rectangles as well as standard filled and unfilled rects. Select these options from the inspector.