Investors & landlords

Can you share any IRS reference for option #1, which states we can "Treat this as a reduction in the purchase price". Searched around Publication 527 Residential Rental Property and only see option #2.

Also if we can use option #1, does it apply to Primary Residence (not only Rental Property ) as well?