@ShadowsOfBirds created a helpful post early last year at Runes, Glyphs, And Frequently Asked Questions and, to make it easier on you, here is the section I believe you’re looking for:
Matching Dragons to Runes/Glyphs
A rune/glyph will only work if the dragon has the spell or resist named in the glyph/rune. Attaching a cannon resist glyph to a dragon that resists archer towers will not make that dragon resist both cannons and archer towers.
Additionally, the spell must be exactly the same in order to work. Invert & reverse projectiles do not use the same runes; neither do invincibility and northern lights, shield blast and explosive shield, or any other similar yet differently named spells.
Mythic & Sapphire+ Dragons
Most have spells that do not have runes for them. Many players will attach runes with a secondary effect of rage or wisdom to these dragons as that is the only buff they can use. Examples: Hauheset, Apophet, A&A