Add some rules
Specify ruby version to use
Update metrics gem