Using “Exclusive Or” logic, riskRating is high whenever the age or smoker test, but not both, is satisfied. This construction is shown in the following Rulesheet:

age >= 45 smoker risk rating
true true low
true false high
false true high
false false low