pub fn singular_query_segments( rule: Pair<'_, Rule>, ) -> Result<Vec<SingularQuerySegment>, JsonPathError>