Add rewrite base to rewrite filter  constructor