Rule check in the planning scenario