Pattern for infinitely flexible composition of business rules using boolean logic