Rear derailleurs have two pulleys. The top is called the guide pulley, the bottom is called the tension pulley. On 8, 9 and 10 speed derailleurs, these do vary, and one derailleur needs one of each type of pulley. The difference is mainly that the top one (the guide pulley) moves freely from side to side, by about a half millimetre, to allow the chain to self-align with the rear cassette sprockets.