def METHOD_NAME(self, matches):
    title = '%s' % (self.rule['name'])
    # If the rule has a query_key, add that value
    if 'query_key' in self.rule:
        qk = matches[0].get(self.rule['query_key'])
        if qk:
            title += '.%s' % (qk)
    return title