Halyn: Ensure Safe AI Agent Operation with Enforced Rules