Add RULE parameter support in GetLegendGraphic