Event registration feature, enabling rule for email sending

@TODO group events by type, I'm getting during form building, probably memory limit is exceeded. Going to investigate it later.