Refactor: Input parameters are const
Refactor: Input parameters are const
Refactor: Localize variables
Refactor: Input arguments are const
Refactor: Eliminate unnecessary string copy
Refactor: Replace char **rulind with int rulind
Refactor: Input arguments are const
Refactor: Change signature of save_rule
Refactor: Inline variable saveptr, Rename tmpfar to tmp
Refactor: Rename sav to existing
Refactor: Simplify append_rule with strcpy/strcat
Refactor: Replace indirection with indexing
Refactor: Localize variable
Refactor: Replace C string with std::string
Refactor: Line up comments