code: def create_business_rules(self, hosts, services, hostgroups, servicegroups,
                                macromodulations, timeperiods):
          
          for item in self:
              item.create_business_rules(hosts, services, hostgroups,
                                         servicegroups, macromodulations, timeperiods)
docs: Loop on hosts or services and call SchedulingItem.create_business_rules
  
          :param hosts: hosts to link to
          :type hosts: alignak.objects.host.Hosts
          :param services: services to link to
          :type services: alignak.objects.service.Services
          :param hostgroups: hostgroups to link to
          :type hostgroups: alignak.objects.hostgroup.Hostgroups
          :param servicegroups: servicegroups to link to
          :type servicegroups: alignak.objects.servicegroup.Servicegroups
          :param macromodulations: macromodulations to link to
          :type macromodulations: alignak.objects.macromodulation.Macromodulations
          :param timeperiods: timeperiods to link to
          :type timeperiods: alignak.objects.timeperiod.Timeperiods
          :return: None