The DACCA program and the dreamers are as legal and as much the rule of law as Trump's order to terminate the program (as long as those in the program comply as they have with the forms they fill out and the disclosures they make about their residence). And it is as legal as Trump's other Presidential orders made without Congressional approval.