A General Framework for Comparing Sequential and Parallel Rewriting