Rees pens deal at Dragons