Trying to create a Query builder search bar

I was doing some research , came across this lib, wanted to know if there are some references which can help me to use this lib for query builder search bar kind of a component. as i see it supports rules also taht u can add to dom. Let em know in case u have any references that can help in this.