Here are the matches for each example with the correct rhetorical technique:
- Allusion - cookies are my kryptonite (referring to Superman's weakness, suggesting a strong temptation)
- Anaphora - it was the best of times, it was the worst of times, it was the age of foolishness (repetition of "it was" at the beginning of phrases)
- Metaphor - the frost is glittering crystals on the trees (comparing frost to glittering crystals)
- Rhetorical question - What's in a name? (a question posed for effect, not requiring an answer)
Let me know if you need further assistance!