Added a patch to rules ui to make it compatible with jQuery 1.7