clara

http://www.clara-rules.org/
2021-05-08T01:14:23.070800Z

You can do 2 other possible things: In the lower priority hat rules do something explicit like [:not [Hat (= ?type :bucket-hat)]]

2021-05-08T01:14:39.071200Z

In the :straw-hat rule.

2021-05-08T01:14:52.071700Z

But I don’t like it much.

2021-05-08T01:15:25.072800Z

Better likely to state your weather situations and then “block” summer hat rule based on conditions it isn’t appropriate for - like it raining. Similar to what was suggested above.

2021-05-08T01:17:22.074100Z

And lastly, not always great but you could insert “hat options” instead in each rule. Then do a final accumulator rule that selects from the options the best choice in priority order.