code: def create_business_rules_dependencies(self):
          
  
          for item in itertools.chain(self.hosts, self.services):
              if not item.got_business_rule:
                  continue
  
              bp_items = item.business_rule.list_all_elements()
              for bp_item_uuid in bp_items:
                  if bp_item_uuid in self.hosts:
                      bp_item = self.hosts[bp_item_uuid]
                      notif_options = item.business_rule_host_notification_options
                  else:  # We have a service
                      bp_item = self.services[bp_item_uuid]
                      notif_options = item.business_rule_service_notification_options
  
                  if notif_options:
                      bp_item.notification_options = notif_options
  
                  bp_item.act_depend_of_me.append((item.uuid, ['d', 'u', 's', 'f', 'c', 'w', 'x'],
                                                   '', True))
  
                  # TODO: Is it necessary? We already have this info in act_depend_* attributes
                  item.parent_dependencies.add(bp_item.uuid)
                  bp_item.child_dependencies.add(item.uuid)
docs: Create business rules dependencies for hosts and services
  
          :return: None