Immigration law proposals a 'serious threat' to the rule of law