Default Inbound/Outbound Firewall Rule

Is there a way that I can link the Scheduler to the default Inbound/Outbound Firewall rule? Now it seems that it can only be set to ALLOW or DENY. What if I want to just shut down all ports inbound for example at night?

Just create a new rule for any port, any source, any destination, Deny with a scheduled enabled time of overnight. Then put it at the top of the list of rules for inbound in the firewall settings.
During the day, this new rule will be disabled (and so ignored) and normal/existing rules will be in place.

I see, thanks a lot.