[pergola] define a function to read track_rules and return tracks 2 join