ENH: Adds the schedule_function api that provides EventRule factory
functions.