Moved jQuery selectors into Rules objects to have a better separation.