'Return an AND clause combining all queries'

@classmethod
def create_boolean_query(cls, queries):

    if (len(queries) > 1):
        return (('(and    ' + '    '.join(queries)) + ')')
    elif queries:
        return queries[0]
    return u''
