You can remove unwanted Data Rule records from the database. To remove a Query record click button present in the same row of the Data Rule details, from the Data Rule Designer page and click OK in the confirmation message.
Note: Removing a Data Rule record will remove all its child nodes as well.