rules and styles for search form, refs #8953