Under the new guidelines , the Immigration and Customs Enforcement agency will devise a system to determine which immigrants should be imprisoned and which should be housed in less restrictive facilities .