Added support for simple legend auto-built icons represented by a colored rectangle