Cleaned up spawning rules.