What law were Adam and others under before The 10 commandments were given in light of Deuteronomy 5:2 ?

If the the 10 commandments are the so-called moral law, then that makes the ceremonial, dietry ,and all other law immoral-including the law God gave to Adam BEORE Mt.Sinai.

Who dare say that about The Law of God ?

I am having great difficulty with WCF XIX :1,2. -as many folk said I would when looking into it.