added rules for .new-span and .new-par for outputs