Creating an index over the database table that is used to store rules is an important way to improve the performance of rule queries. It is recommended that an index be created over the rulename column of the table containing the rules. This greatly improves the performance of rule-triggered queries that are looking for a rule or rules with a specific name. The index saves the query from searching every row in the table. Refer to the documentation for your database for instructions on how to create an index.