Drawing basic rectangles based on meta data in the SCXML file