(#20) Don't forget to free the pcre if the study fails.
(#20) Add config parser for rewrite daemon.