NavyCuda is right. Try to get some details about the “why”. See if you can run a CarFax report. I assume by rebuilt, you mean a salvage title. That doesn’t mean a rebuilt engine. Could have been more damage to the body than the insurance wanted to pay or it could have been flooded. Could have frame damage but powertrain is fine. Too many questions as is though.