Changed condition to allow new rule
Unit testing for predefined history