Confused with Unit Limit CCC to UC

This. See http://admission.universityofcalifornia.edu/counselors/files/quick-reference-2017.pdf page 30

You may not have replaced the D you got in Chem since says

Another issue may be from your time at UCR since they require

People here are happy to try and help, but IMHO your situation is too complicated to get your counseling from the internet. You should find a good xfer counselor at your CC and also talk with the UC reps that visit your campus.

Best of luck to you, it sounds like you have turned things around, just work your way thru the bureaucracy to get your enrollment issues resolved