code: def set_rule_name(self, rule_name):
          
          if not self.aws.get('xray', None):
              self.aws['xray'] = {}
          self.aws['xray']['sampling_rule_name'] = rule_name
docs: Add the matched centralized sampling rule name
          if a segment is sampled because of that rule.
          This method should be only used by the recorder.