updating the rule-based with the int maps