Most of the time I see people use a gerund this way:
The storm caused delays in processing customer orders.
However, sometimes I see something like this too:
The storm caused delays in the processing of customer orders.
Are there any hard rules so we know when to use one way and not the other?