Add terms to rules file.