The State Bar offers the California Rules of Professional Conduct. A separate annotated version with commentary is available from the Legal Information Institute.