Select your rectangle, go to the color panel on the right side of the screen and turn the fill color off by clicking on the square with the red line through it.
Then on the stroke color, which is the square next to it, make sure to turn that color black.