code: @RequestMapping(value = "/legendgraphic/{layerId}/{styleName}/{ruleIndex}.{format}", method = RequestMethod.GET)
  	public ModelAndView getRuleGraphic(@PathVariable("layerId") String layerId,
  			@PathVariable("styleName") String styleName, @PathVariable("ruleIndex") Integer ruleIndex,
  			@PathVariable("format") String format, @RequestParam(value = "width", required = false) Integer width,
  			@RequestParam(value = "height", required = false) Integer height,
  			@RequestParam(value = "scale", required = false) Double scale, HttpServletRequest request)
  			throws GeomajasException {
  		return getGraphic(layerId, styleName, ruleIndex, format, width, height, scale, false, request);
  	}
docs: Gets a legend graphic with the specified metadata parameters. Assumes REST URL style:
  /legendgraphic/{layerId}/{styleName}/{ruleIndex}.{format}
  
  @param layerId
  the layer id
  @param styleName
  the style name
  @param ruleIndex
  the rule index, all for a combined image
  @param format
  the image format ('png','jpg','gif')
  @param width
  the graphic's width
  @param height
  the graphic's height
  @param scale
  the scale denominator (not supported yet)
  @param request
  the servlet request object
  @return the model and view
  @throws GeomajasException
  when a style or rule does not exist or is not renderable