@RequestMapping(value = BoUrls.RULE_EDIT_URL, method = RequestMethod.GET)
public ModelAndView ruleEdit(final HttpServletRequest request, final Model model) throws Exception {
ModelAndViewThemeDevice modelAndView = new ModelAndViewThemeDevice(getCurrentVelocityPath(request), BoUrls.RULE_EDIT.getVelocityPage());
final RequestData requestData = requestUtil.getRequestData(request);
final String currentRuleCode = request.getParameter(RequestConstants.REQUEST_PARAMETER_RULE_CODE);
final AbstractRuleReferential rule = ruleReferentialService.getRuleReferentialByCode(currentRuleCode);
modelAndView.addObject(ModelConstants.RULE_VIEW_BEAN, backofficeViewBeanFactory.buildViewBeanRule(requestData, rule));
modelAndView.addObject(ModelConstants.RULE_FORM, backofficeFormFactory.buildRuleForm(requestData, rule));
return modelAndView;
}