refactor(parse): simplify the Parser's filter function