Added the merge step in grammar extraction.
Merge pull request #11 from ucam-smt/rulextractMerge

Added the merge step in grammar extraction.