added rex task to Rakefile