The UK government has published its plans for a Great Repeal Bill to transform more than 12,000 EU laws in force in Britain into UK statute so that "the same rules will apply after exit day" as before.