A succinct example showing how to retrieve the pattern string from a defined rule.