rules, squad_performance model and generate method