Martinez ruled out for rest of season