}
return orderForm;
}
public RuleForm buildRuleForm(final RequestData requestData, final AbstractRuleReferential rule) throws Exception {
final RuleForm ruleForm = new RuleForm();
if(rule != null){
ruleForm.setId(rule.getId());
ruleForm.setVersion(rule.getVersion());
ruleForm.setCode(rule.getCode());
ruleForm.setName(rule.getName());
ruleForm.setDescription(rule.getDescription());
ruleForm.setSalience(rule.getSalience());
}
return ruleForm;
}