The condition can look like this (as an example, mp3 and mpeg files are listed, you have to add all the stuff you want to block):
The action can be defined as follows:
After creating this rule set, don't forget to turn it to "Production" -- my favourite error