The rule should be similar then H6 for pywikibot:
When all of these conditions are met:
- Project tags include any of (tags of H6 excluding Pywikibot
- Security is not any of Software security bug
- Pywikibot project tag is not included
Take these actions the first time this rule matches:
- Add Pywikibot project tag