parameters: (self, path)
return_statement: return ()
docstring: Determine the path-specific rules to use, and return as a tuple.
  
           This method returns a tuple rather than a list so the return
           value can be passed to _filter_from_path_rules() without change.
docstring_summary: Determine the path-specific rules to use, and return as a tuple.
docstring_tokens: Determine the path - specific rules to use and return as a tuple .
function: def _path_rules_from_path(self, path):
          """Determine the path-specific rules to use, and return as a tuple.
  
           This method returns a tuple rather than a list so the return
           value can be passed to _filter_from_path_rules() without change.
  
          """
          path = path.lower()
          for (sub_paths, path_rules) in self._get_path_specific_lower():
              for sub_path in sub_paths:
                  if path.find(sub_path) > -1:
                      return tuple(path_rules)
          return ()
function_tokens: def _path_rules_from_path ( self , path ) : path = path . lower ( ) for ( sub_paths , path_rules ) in self . _get_path_specific_lower ( ) : for sub_path in sub_paths : if path . find ( sub_path ) > - 1 : return tuple ( path_rules ) return ( )