Rewrite sysd-rules generation using an awk script.
Sort sysd-rules-patterns by descending pattern length.
Make ARM feenableexcept detect failure (bug 14907).