Added logic for parsing and rule creation from email, as well as per filetype string prioritzation for inclusion in rules