code: def sall(rule, fns=basic_fns):
      """Strategic all - apply rule to args."""
      op, new, children, leaf = map(
          fns.get, ("op", "new", "children", "leaf")
      )
  
      def all_rl(expr):
          if leaf(expr):
              return expr
          else:
              args = map(rule, children(expr))
              return new(op(expr), *args)
  
      return all_rl
  
imports: from sympy.strategies.util import basic_fns
  from sympy.strategies.core import chain, do_one
label_desc: Use image node_id 5 for calling a global function with example usage: sall(rule, fns) and returns: all_rl, expr, new