Export things

Due to `patterns`, `tp`, and `replacement` not being exported `AddRule()` was not actually functional unless you were inside the package. In order to make it work outside the package I exported those values in the Rule struct and feel it would be best to export them.