add test for ajax new_rule get
add another ajax view test