Of (Insert Something Here) Grammar Rule

<p>Recently, I have discovered that there are grammar rules for </p>

<p>Of (Insert Something Here)</p>

<p>Like:
The police used cameras (in the catching of) speeding tourists.</p>

<p>The famous film-maker (had a tendency) (of changing) his recollections, perhaps out of boredom at having to tell interviewers the same story over and over. (No Error) </p>

<p>(Apparently B is wrong)</p>

<p>I know that you should change it to an infinitive, but can anyone explain to me when it is wrong and when an infinitive should be used instead.</p>