News organizations are to be informed of an impending document demand unless the attorney general determines that notice would pose "a clear and substantial threat to the integrity of the investigation, risk grave harm to national security or present an imminent risk of death or serious bodily harm," the new rule says.