Cleaned up curl validator by decoupling emailing code; abstracted the alternatives rule routing