How to use directory paths and multiple glob patterns in YML rules?

All questions below are related to yml rules.

If I write a path with a directory in globs, the rule is not activated. For example:

  • “tmp/tmp.md” is not activated
  • “tmp.md”, “**/tmp.md” is activated

Can I use multiple patterns in globs? If so, how?

OS: Windows 11
Software: Antigravity