Basically during about the first 10
-43s of the universes exsistence all four forces were unified (we aren't quite sure how yet we still need a theory of quantum gravity but that one will be cracked eventually)...
During that period quarks and leptons were indistinguishable and quantum numbers were not conserved...
Quarks and antiquarks changed from one to the other freely and at t = 10
-43s there was a slight excess of quarks over antiquarks (about 1 in 10
9)...
And a good job too because when the rest of the quarks and antiquarks anihilated that slight excess became our universe...
The Casimir effect that we observe happens with the four fundamental forces seperate and thus it creates equal ammounts of matter and antimatter and quantum numbers are conserved...