By default the stroke is on the outside of the rectangle so thats why it adds size. On the stroke pallet you have option of the stroke being outside, centre, and inside. Select inside and your rectangle stays the same and the stroke is added to the inside size.