pub fn consume_rules( pairs: Pairs<'_, Rule> ) -> Result<Vec<AstRule>, Vec<Error<Rule>>>
Converts a parser’s result (Pairs) to an AST
Pairs