Add buildRule menu for toolbar search.