Have you seen Creating Capabilities with Rule Templates: Time of Day?
You might not even need this rule at all any more. I’m assuming you are setting a time for an alarm or the like. MainUI now how a Date Time entry widget and the Alarm Clock Rule template lets you schedule one of your rules to be run based on the state of a DateTime Item. No longer does one need to maintain a separate hours, minutes and seconds Item to enable a time to be changed from the UI.
And since it’s a rule templates and UI widgets from the Marketplace you only have to write the code that needs to run at the time specified by the DateTime Item. Everything else just gets installed and configured.