sys: Make sched_ule a sched instance
(cherry picked from commit d14e018024bb094705dd218ceeeea124706f6ec0)