Discovery of composite regulatory patterns