add submit rules to webpages controller