It may not be the most well-known IRS rule, but it can still have a significant impact on your tax situation.