Add PrimitiveRectangle class