Added framework for &&/|| relations

No button  yet. That's the hard part.