I'm trying to correctly punctuate the following sentence:
During this time, the rats were also being trained via Pavlovian conditioning to associate a tone and a darkening of the room with the reward being available.
The structure is as follows:
(tone and darkening of the room) with (the reward being available)
As it is, it seems messy as the clauses aren't clearly separated. However, if I were to put a comma after the with
it would seem inconsistent since you wouldn't put a comma in a sentence like, "I associated the tone with the reward". Could someone explain the relevant grammatical rules?