adding 'rectregions' glyph renderer and refactoring existing rect glyph