There are a few programs that break things down as follows:
Ranked to match (as mentioned before, if there are x number of residents per year in the program, you are ranked within the top x applicants. So, if you rank them #1, you'll match there)
Ranked so that you are likely to match (not necessarily ranked to match, but if previous history dictates, you are ranked high enough that they will likely fall to your number on their rank list)
Ranked (You have made their rank list)
Unranked (you have not made their rank list).
Again, take everything with a grain of salt, and you should never be asked how you will rank a program, nor pressured to rank them a certain way. Also, the whole system works if you rank places the way you want to, and there is no benefit at all to rank a program higher because you think they'll rank you highly. Unless, of course, you just really like telling people you matched at your top choice (even though it would've been a lower choice under different cicumstances).