This RuleCondition peeks into the stack of queues
on the SessionHistory object and checks to make sure
that the queue on the top of the stack matches the category
condition and that the transitional property equals a specified
value.
For example, to check whether the next queue on the stack is of type
Problem Class and with a transitional value of
gastrointestinal you could configure a rule-condition
as: