using AI to generate a set of if/else rules still seems like a valid use for AI.
if anything, that's the ideal outcome. you still get deterministic, testable behaviour, but save some work to get there.