Implementing LegendGraphic for Rules in SLDs.