Actually Rooting and Unlocking your Bootloader will not be illegal. This is not affected.
What will now be illegal will be unlocking your phone to use it on a different carrier.
The Library of congress had an exemption for it the last 2 cycles that allowed people (us) to unlock their phones to use on a different cell carrier. It actually falls under DMCA. Every few years the Library of Congress gets together to make exemptions to this law. They did not renue the exemption this round, so now it will be illegal again.
There is an exemption still in effect that allows for the rooting / unlocking bootloaders so this will not be affected.