code: func NewRules() *rules {
  	rules := &rules{namesKeys: nameToKey, phoneDevices: phoneDevices, tabletDevices: tabletDevices, operatingSystems: operatingSystems, browsers: browsers}
  	rules.setMobileDetectionRules(nameToKey)
  	return rules
  }
docs: // NewRules creates a object with all rules necessary to figure out a browser from a User Agent string