departments and shifts rules