fix crash in Schedule Rules

alloc just allocates some memory, need to initialise the instance too :)