Task: Text to Code
Input (English): select the rows whose team record fuzzily matches to rhein fire . the average of the capacity record of these rows is 56308 .
Output (English): round_eq { avg { filter_eq { all_rows ; team ; rhein fire } ; capacity } ; 56308 }