Getting in the flow state is one of the most important things I try to focus on throughout the day.
For example, one of these rules can be that I need to be proactive with my email. And strive to reach inbox zero until the end of the day. But there are many other ones out there. Essentially these rules act as my own predefined habits that I like to follow as a response to some cue.