Changed scheduler to do editing on a per-rule basis