Can I Have Multi-depth Condition in Rule?

I want to create a Rule about following condition.

((A > B) and (C == D)) or (E > F)

could this be possible?

Looks OK to me.

In Smartthings routines?

No, the thread is tagged with ‘Rules API’ so I assumed that was the type of Rule that was being asked about.