Added some rails specific rules