2012/1/6 Shweta1986 <shweta.a.thakkar@gmail.com>

And my rules are very simple it is like if string comparison then set that's it..

This doesn't really warrant the use of a rule based system. If keeping this logic out of the application or an easy maintenance of these if-then's are your main goals, there are other ways. I've already hinted at this, with the idea of providing the information embedded in similar rules as data.
-W