Since Mail.app had trouble connecting to the various accounts, I tried to 'reset' it by removing all accounts and the stored passwords in Keychain Access.app. Then I re-added all the mail accounts.
However, for some reason all configured rules were deleted too, even though they are not directly tied to a specific mail account.
Where are these rules stored so that I can restore them from a time machine backup?
