Add LegendGraphic support for Rules in SLDs

37d6c52 is the relevant commit.
Uses the GeoTools modification from geotools/geotools#286 to support rendering of ExternalGraphic elements.