Just don't sign any of their contracts, meaning don't incorporate and don't fill out any of their slavery paper work. Stay out of their jurisdiction.
If you signed their shit or took their benefits, then yes you better learn their "codes" and "laws" because you are now in contract with them and you must perform on your end.