Yes, you can. When you're adding conditions to the rule, you can select the structure name from the properties list.