Click on Vector Rectangle in the Vector tools box.
Drag the pointer vertically and horizontally till the rectangle is the required size and then release the mouse.
The rectangle will be filled in with the current foreground color.
You can read about how to edit vector objects in Vector objects: Modifying.
See also: