Fix ruby rule