applyPendingRules method
Applies pendingRuleNames, recalculates the route, and closes the panel.
Implementation
void applyPendingRules() {
_selectedRuleNames
..clear()
..addAll(_pendingRuleNames);
_syncPrmWithSelectedRules();
_isRulesPanelExpanded = false;
_isCalculating = true;
_updateItineraryWithRules();
}