Generation of substructure identification rules and molecular structures from ms/ms spectra