I would guess that the rattle is your CAT or Muffler against their clamps. At every rpm your car has a unique frequency. It's probably just at 2000 rpms that the right frequency is hit to vibrate whatever is loose. I don't know why you would lose horsepower though.