Event flag rules config