added animation when adding a new rule