Added checkEntry rule