Email (record): A novel rule generator for intrusion detection based on frequent subgraph mining