Agent to enable rule

i need to create an agent that will enable a rule from 5.30pm til 9.00am and then disable it again. any help would be appreciated.thanks

Subject: agent to enable rule

what does the rule do? perhaps just write an agent to do the same thing and then you can schedule the agent to run between the hours you require.