This is a good general rule of thumb to follow, but each case can be looked at individually and you can usually come up with exceptions to this general rule....
In this situation, I think it would be fine, if you added a 10AH D size NIMH cell in series with a 6V SLA that was only say, 4.5AH, or whatever, then I don't see a problem and here's why....
This is a direct drive light, so there is feedback in the form of output to let you know when the battery is about dead....The SLA would go dead long before the NIMH, so you would know the battery is dead as the brightness would drop way off. The NIMH cell would still be sitting with some juice left in it and would not be reverse charged by the SLA. The biggest concern for this setup, is the health of the NIMH cell that is being added to the mix. The SLA will not be effected in this configuration as it represents the bulk of the pack being put together.
The main concern about mixing different chemistry or different capacity cells, is when you have a circumstance where there would be no way to know that one of those cells in the mix has been completely discharged, like for example, a regulated HID or LED light. Or in the case of a higher voltage bulb with lots of cells in series, a single cell dropping out may not provide enough useful feedback in total output to know anything was wrong...
It would be a BAD idea to take this flashlight, and wire an extra AA NIMH cell in series with it, as the AA NIMH cell would drain down before the SLA, and if left "on" in the circuit, could be severely over-discharged, and actually reverse charged, which is the best way to ruin a NIMH cell.
In any case where you are going to have 1 "oddball" cell in the mix, it's best to have that cell have more capacity than the rest of the cells in the configuration, so that the rest of the pack goes dead, with the obvious result of the flashlight giving a useful amount of feedback to the user to shut it off, the 1 oddball cell is not damaged, and neither is the main battery pack....
The user would need to make sure to charge up that NIMH cell whenever the spotlight is charged up.
Eric