Moved rule evaluation next to declaration.