You must believe that [i] usually comes before [e] except after [c] or when it is pronounced like "a" as "neighbor" and "weigh" or "e" as in "their" and "heir." Also take a look at "
foreign" below. (The "i-before-e" rule has more exceptions than words it applies to.)