Improved function responsible for breadcrumbs conditional rules.