added the sleep rule