}
if (manualActivationRule != null) {
String rule = manualActivationRule.getCondition().getBody();
Expression manualActivationExpression = expressionManager.createExpression(rule);
CaseControlRule caseRule = new CaseControlRuleImpl(manualActivationExpression);
activity.setProperty(PROPERTY_MANUAL_ACTIVATION_RULE, caseRule);
}
}