Making legend update properly and display only rules that apply at the current scale (closes #170, see #418).
Making legend update properly and display only rules that apply at the current scale (closes #170, see #418).

git-svn-id: 4aceec40f265ced1caac29b22fee892e6f693238@654 fe66add1-021f-4af3-b75b-ea5154e73f91

gispro/OceanViewer2,gispro/OceanViewer2,boundlessgeo/GeoExplorer,gispro/OceanViewer2,gispro/OceanViewer2,bartbaas/GeoAtlas,boundlessgeo/GeoExplorer,bartbaas/GeoAtlas,bartbaas/GeoAtlas,boundlessgeo/GeoExplorer