Embargoes most certainly does forbid helping the embargoed nation with military design. Again, you dont cancel a deal where you make $$ and then help the guy you cancelled deal with, to develop a competitor for your product. Thats literally insane.
J10's aspect similarity with the F35 is due to...