Adding test for addRule chain