For mother ****ing sakes do I need to spell it out for both of you "software developers"?
If you have an abstraction or interface, it may or may not be implemented and can be derived.
If an interface or abstraction is enforced on this system for every dungeon, each dungeon could have a unique implementation of said contract. By no means would this involve any artificial intelligence because the developers could simply override or use existing rules from the base implementation (if one exists).
I'm sure we're both very glad we don't work with each other. The above is really basic knowledge; I used the terms interface and abstraction intentionally as they're well understood by anyone that goes onto stackoverflow for work or school.