# Example Whitelist Rule

The following rule allows the terms cow, goat, and deer in a query, and removes all other terms.

    #DREREFERENCE 571071269228798215
    #DRETITLE whitelist01
    #DREDBNAME ACTIVATED
    #DREFIELD THRESHOLD="20"
    #DREFIELD KEYWORDS="cow,goat,deer"
    #DREFIELD QMSTYPE="5"
    #DREFIELD QMSAGENTBOOL="whitelist01"
    #DREFIELD DRELANGUAGETYPE="English"
    #DREFIELD DREOUTPUTENCODING="UTF8"
    #DRECONTENT
    whitelist01
    #DREENDDOC

This whitelist alters the following query:

    action=Query&Text=cow goat sheep chicken&Whitelist=whitelist01

to:

    action=Query&Text=cow goat

Related Topics

- Create Whitelist and Blacklist Rules

_FT_HTML5_bannerTitle.htm