The Commerce Department is planning to set out rules this week to restrict the semiconductor technologies that could be sold to China.