Build correct query with two rules
Modified queryBuilder: fix bug with nested conditions
Merge pull request #3 from KhrystynaMakar/KM-QueryBuilder

Km query builder