Playing with generating apache rewite rules