env.set(StoredValues.CHANGE, change);
env.set(StoredValues.CHANGE_DATA, cd);
env.set(StoredValues.PATCH_SET, patchSet);
env.set(StoredValues.CHANGE_CONTROL, this);
submitRule = env.once(
"gerrit", "locate_submit_rule",
new VariableTerm());
if (submitRule == null) {
return logRuleError("No user:submit_rule found for "
+ getProject().getName());