WIP on foreground rules