Prepositions resist rules more than any other part of English grammar, which is why most explanations give up and hand you a list. These pages give you the patterns that do hold, and are honest about the cases where the answer is simply the one native speakers use.