A succinct example demonstrating how to set and get tags for different rules.