Representation and Reasoning about General Solid Rectangles