Rect primitive.

Can now render rectangle primitives.