Similar Items: Interpretable inference of collective models from trajectory data with two-stage rule learning