Text this: A Characterization of Basic Feasible Functionals Through Higher-Order Rewriting and Tuple Interpretations