Implementing LegendGraphic for Rules in SLDs.

This uses the changes made in https://github.com/geotools/geotools/pull/139