Suppose the actors were different: wouldn't this be like, for instance, Germany forbidding a Brazilian company from exporting a widget it manufactured to the USA, just because the Brazilian company had used a German-made lathe in its Brazilian factory to make the widget?
I don't think you can talk about this in terms of just rules. What is happening here is one world superpower is using all the leverage it can to attack another world power. Germany isn't going to do this firstly because it doesn't have the leverage and secondly because they're not interested in playing that sort of raw power politics. This is how cold wars are conducted, the belligerents pour resources into strategic…
Except that, as it's clear from the rest of your comment (with which I agree fully) there are no real demands from the US to China except a demand for subalternity. In other words, the only reason behind this moralising and chest-beating is simply that the US wants to keep its power by obstructing a competitor.