In spoken English, there is no rule of grammar distinguishing "its" from "it's", because they are indistinguishable.
Note that your examples of "you're" and "it's" are part of written English, which is a distinct system bolted onto the side of English. In spoken English, there is no rule of grammar distinguishing "its" from "it's", because they are indistinguishable.