If you drag a building/troop to the first spot in the queue, the rush cost for that item is the same as whatever was there before. For example, if you have something that will be completed in only 1 turn, and then you drag a building over that will take 10 turns, it still only costs the price for the 1-turn building to rush.
Cheers!