The act provides that the attorney general may certify a non-citizen as a terrorist if there are 'reasonable grounds' to believe that the person is a 'terrorist' or has committed a 'terrorist activity' and requires mandatory detention of a person so certified.