OO-3067: Handle exception if a course reminder rule is invalid and add some validations in GUI to avoid invalid reminder rules