Rewriting Rules.

Laying the groundwork :)

Signed-off-by:  <thejambi@gmail.com>