Update viewrules.js

Added hidden form for delete action