Add end_token and replacement rule options for replacements.
Update README with new end_token and replacement rule options.