Some posts [1] [2] suggest that the axiom of foundation (AoF) is essentially pointless, except that it allows us to prove that every set has a rank. I mostly deal with math built atop set theory, and I'm not familiar with any results that actually require (or are more easily proven by) the fact that every set has a rank.
Are any "important" theorems lost (or made harder to prove) by removing AoF? By important, I mean a result that is used in practice in mathematical theories built atop ZFC. For example, Zorn's lemma is important because it helps us prove that every vector space has a basis and every field has an algebraic closure. I'd like to know about similar applications of AoF, if they exist.