Rules governing protein identification by mass spectrometry