Gravar-mail: Automatic inference of indexing rules for MEDLINE