Generation of rules for organic substructure determination by classification of MS/MS spectra