.setString(3, ruleParameter.defaultValue)
.setString(4, ruleParameter.name)
.addBatch();
}
if (!activeRules.isEmpty()) {
upsert.execute().commit().close();
}
// update date for ES indexation
upsert = context.prepareUpsert("update active_rules set updated_at=? where id=?");
Date now = new Date(system.now());