Update the rule_view added javascript

Signed-off-by: unknown <dre.paperhouse@gmail.com>