Creating optimize rules

Anyone who has worked on creating rules in optimize pls help me.

We have a scenario where in we need to send an email if any process instance is in started or suspended state for more than 10min. Need help in how to create a rule for this.