As far as the first two sentences go, they mean the same things. However, a couple points of usage:
Dress like if you were having guests.
If is not necessary in this sentence. The word like here means similar, so it is not a conditional, but rather a comparison. The original sentence uses if because of as—how should you dress? As someone expecting to have guests = as if you were to have guests. Also, the original sentence might be more succinctly found as "Dress as if you were having guests".
She kissed him goodbye, like the usual.
The is not necessary, like the original sentence.
The third example, however, is different, as it uses a different meaning of
as:
Sweet like she is, she doesn't pay his bills.
This construction is not found among native English speakers, who always use the word as. The reason is this: like expresses similarity, but in this context, as expresses quantity; in other words, the sentence is saying that she is very sweet. The altered sentence, however, is meaningless.
Rich with does, I suggest, say something about the quality of something, and that quality is almost always positive.
He's rich with things that money cannot buy: friendships, supportive relatives, and a spouse who encourages him each step of the way.
The above sentence uses the word rich in a positive way, and doing so would seem to be the norm. I would not link the words rich with with negative things.
Maybe I betray a certain cultural bias in linking rich to only positive things, as if to be rich is necessarily a good thing. On the other hand, if irony is the reason for the link between rich with and the negative things, then the linkage would make sense, and to be rich is not necessarily a good thing. For example, if the "she," above, has great wealth, but her character leaves little to be desired, I might say ironically,
"Oh, she's rich all right. She's rich with a nasty disposition, a passel of enemies, and a cheapness that beggars description."
"Rich in" can be used, I suggest, in many of the same ways its counterpart "rich with" can be used, as in
The sub-Saharan country is rich in oil, manganese, and semi-precious stones,
or
Jim is rich in kindness, generosity, and thoughtfulness,
or
Sally is rich in friends, cheerleaders, and supporters.
In conclusion, "rich in" and "rich with" are virtually interchangeable. As for
The literature is rich with/in examples,
I suggest you be guided by whichever word sounds better to you, since they're both, as I said, virtually interchangeable.
Best Answer
As John Lawler notes: