Task: Text to Code
Input (English): select the rows whose rank record is less than or equal to 7 . for the goals records of these rows , most of them are greater than 10 .
Output (English): most_greater { filter_less_eq { all_rows ; rank ; 7 } ; goals ; 10 }