They're in the add-filter-rules.json file in the calibre configuration directory, you'll need to add a rule to create the file and get a 'template', which will look something like this
Code:
{
"template": [
{
"query": "template",
"action": "ignore",
"match_type": "startswith"
}
]
}
There's a button in Preferences->Miscellaneous to open the calibre configuration directory. And take a copy of the directory and close calibre before you edit any files in there.
BR