added rewrite rule for edit permissions