support boolean expressions on branch