code: func (r *rules) setMobileDetectionRules(nameToKey map[string]int) {
  	combined := make([]string, len(nameToKey))
  
  	j := 0
  	count := len(r.phoneDevices)
  	for i := 0; i < count; i++ {
  		combined[j] = r.phoneDevices[i]
  		j += 1
  	}
  
  	count = len(r.tabletDevices)
  	for i := 0; i < count; i++ {
  		combined[j] = r.tabletDevices[i]
  		j += 1
  	}
  
  	count = len(r.operatingSystems)
  	for i := 0; i < count; i++ {
  		combined[j] = r.operatingSystems[i]
  		j += 1
  	}
  
  	count = len(r.browsers)
  	for i := 0; i < count; i++ {
  		combined[j] = r.browsers[i]
  		j += 1
  	}
  
  	r.combined = combined
  }
docs: //Method sets the mobile detection rules. This method is used for the magic methods $detect->is*().