How to visualise nested AND / OR groups? [duplicate]

This question already has an answer here:

I'm wondering if anyone here can shed some light on working with visualising logic for beginning users.

I am struggling with finding a proper way to display logic such as:

"Item name #1 AND (Item name #2 OR (Item name #3 AND Item name #4))".

It's group within a group. My solution becomes a very literal horizontal representation and becomes very disorienting, while I'm looking for a way to display this sequence more vertically so it fits in the application window better. The problem is that it can contain more than 10 items if the user wants to target a very specific group.

The aim with the application is that it filters users down into a target group for further marketing use. It will be used by people who are not tech-savvy. Thoughts?

Rough sketch: http://imgur.com/a/Hv6ba