The rule was expecting a number to be entered and you had entered: <?php echo($_SESSION['CouponDiscount']); ?>
I think it would have worked properly if you just had entered: $_SESSION['CouponDiscount'] and that is the difference between the two code chunks.