[#2419] reordered params to initRuleEngine