Advanced rules structure