Added "replicate :: Int -> Rewrite Core -> Rewrite Core" command.