A method of determining an appropriate response to an input includes
linking a plurality of attributes to a plurality of response templates
using a plurality of Boolean expressions. Each attribute is associated
with a set of patterns. Each pattern within the set of patterns is
equivalent. The method also includes determining an appropriate response
template from the plurality of response templates based on the input.