Basic Rules of Protein Folding