Match rule.

def match(self, filename, line, codes):
        """Match rule."""
        if ((not self.file_selectors or self.file_match_any(filename)) and
                (not self.environment_marker_selector or
                 self.environment_marker_evaluate()) and
                (not self.code_selectors or self.codes_match_any(codes))):
            if self.regex_selectors:
                return super(Rule, self).match(filename, line, codes)
            else:
                return True

        return False