<svg width="5cm" height="4cm" version="1.1">
     <desc>Four separate rectangles </desc>
     <rect x="0.5cm" y="0.5cm" width="2cm" height="1cm"/>
     <rect x="0.5cm" y="2cm" width="1cm" height="1.5cm"/>
     <rect x="3cm" y="0.5cm" width="1.5cm" height="2cm"/>
     <rect x="3.5cm" y="3cm" width="1cm" height="0.5cm"/>
     <rect x=".01cm" y=".01cm" width="4.98cm" height="3.98cm" fill="none" stroke="blue" stroke-width=".02cm"/>
</svg>
Original SVG source