Give priority to rule over open/close