For capital gains from sale of rental property, does this start from time it became rental property or when bought (if lived in it first)?