Add rewriteDomain parameter

Signed-off-by: Konrad Scherer <Konrad.Scherer@windriver.com>