disable alert and rules during maintenance hour

How would I schedule specified period for rules to be disabled and renabled automatically during maintenance hour?

What version of webMethods are you using? 7x,8?