$ 0 0 Ram,you have to define the if condition in the other rule too and test the simulation for result.