Rules loading: Use $.ajax to cache the rule js file

$.getScript does not allow the files to be cached. Use $.ajax with
cache option true.