WIP added foreground rule options to settings form. Update fg.js logic, css for fg alert