Toggle one rule and recalculate the itinerary immediately.
final void Function(String ruleName, bool enabled) setRuleEnabled;