Both the AOA Match instructions, as well as the NRMP instructions contain a good explanation of the mechanics of the Match. There is no advantage in ranking to a less desirable program higher than your top choice just because your second choice ranks (or says they will rank you) higher.
Submitting a Match program agreement and a rank list of programs commits you to the program to which you match. Make sure you choose carefully. Don't list any programs that you do not want to attend; you may be better off scrambling for positions at a later date.