As far as I know, you can buy a rifle anywhere in the U.S. and bring it back home. Now, since you can't bring in any AW's to California, you have to remove the features that make it an assault weapon, but then someone raised the point once that if it's listed in the Assault Weapons Identification Guide, it's still illegal to bring in (not sure on that, if it's AW features are not present). There are some firearms that need to be registered when brought into California (Handguns and AW's for sure). And in reference to 1Gunnrunner's comment, I believe it's Federal law that states you can only purchase (directly-in person) a handgun in the state of your residence. Although you can make a purchase through dealers across state lines through an FFL in your state. I'm sure someone else has the info if I am wrong anywhere. Just read the DOJ reg's. They are online for all states as far as I know.
Someone correct me if I'm wrong, but I believe in some states an individual can still do private transfers (buy a rifle without paperwork at a garage sale for example) of rifles. It used to be that way in Texas.