Update Condition.php

refactored and recommented