I was taught 'i' before 'e' except after 'c' or when sounding like "neighbor" or "weigh".