repairs a bug in rewriterule engine: constructor cannot be used as a pattern
Merge pull request #4 from tiliang/master

a bugfix in rewriting rules
Fix version identification for new git repository.
fixes to support git and subversion, both