I don't think that <HourHand>, etc, can contain <Rectangle>. Check the doco to see what inner elements are allowed in each outer element.
<HourHand>
<Rectangle>
The XSD tools here are also useful for finding errors in the XML.