parse_path_conditions function

Parse a single path/term into conditions