Edit: Here is the exact text from the california law
(1) A semiautomatic, centerfire rifle that has the capacity to accept a detachable magazine and any one of the following:
(A) A pistol grip that protrudes conspicuously beneath the action of the weapon.
(B) A thumbhole stock.
(C) A folding or telescoping stock.
(D) A grenade launcher or flare launcher.
(E) A flash suppressor.
(F) A forward pistol grip.