Moved rule testing to eventPage level