A computer-implemented method for delivering content is provided,
including specifying a rule having a trigger and defining a content
presentation action, and receiving a search query from a user. The method
further includes generating a result set in response to the search query,
identifying at least one characteristic of the result set, and comparing
the at least one characteristic to the trigger. If the at least one
characteristic satisfies the trigger, the content is presented as
specified by the content presentation action that is defined by the rule.
Other embodiments are also described.