a way for WQL to follow rule logic+status