Add rakefile for a single metric. Fix #683