I'm able to achieve this. I created a bookmarklet
javascript:(function(){// my code here })();
Now this bookmarklet will run in context of my page, thus I'll have access to all js I have in my page and hence jquery as well.
What I did is, I call a function which resides in one of the js file in my page say:
validateUI(){
validateRule1();
validateRule2();
validateRule3();
}
and in these functions I define my rules