If it is registered, no problem. On a regstered AR-15 you can add as manu evil features as you want. The minimum length for a centerfired detachable rifle is 30"
12276.1. (a) Notwithstanding Section 12276, "assault weapon" shall also mean any of the following:
(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.
(2) A semiautomatic, centerfire rifle that has a fixed magazine with the capacity to accept more than 10 rounds.
(3) A semiautomatic, centerfire rifle that has an overall length of less than 30 inches.
(4) A semiautomatic pistol that has the capacity to accept a detachable magazine and any one of the following:
(A) A threaded barrel, capable of accepting a flash suppressor, forward handgrip, or silencer.
(B) A second handgrip.
(C) A shroud that is attached to, or partially or completely encircles, the barrel that allows the bearer to fire the weapon without burning his or her hand, except a slide that encloses the barrel.
(D) The capacity to accept a detachable magazine at some location outside of the pistol grip.
(5) A semiautomatic pistol with a fixed magazine that has the capacity to accept more than 10 rounds.
(6) A semiautomatic shotgun that has both of the following:
(A) A folding or telescoping stock.
(B) A pistol grip that protrudes conspicuously beneath the action of the weapon, thumbhole stock, or vertical handgrip.
(7) A semiautomatic shotgun that has the ability to accept a detachable magazine.
(8) Any shotgun with a revolving cylinder.
In your case, since it is registered, I don't think it applies, you may want to check on that.