Question special

Although trying to “game the system” or putting thought into how programs are ranking applicants should NOT affect our own rank list, for transparency sake, how do programs decide how to rank applicants? Specifically, do programs prioritize their applicants based on who they would WANT most OR who would likely match (Do programs gain something from matching applicants from the top of their rank list)?