The United States has announced a new rule baring the sale and export of software and equipment to countries like Russia and China in a move aimed at preventing foreign hackers from gaining technology.