Skip to content
All articles
Fundamentals 8 min read· by Lars Zimmermann

Is that AI? The difference between rules and learning

Calculator, spam filter, face filter: which of them is AI? The difference between written and learned rules, and what the EU AI Act says about it.

In short

A normal program follows rules that a person has written. An AI derives its rules itself, usually from examples, sometimes from stored expert knowledge. The EU AI Act draws the line the same way: systems that only automatically execute rules defined by people are not AI systems. A learning spam filter is one, a calculator is not.

Auf Deutsch lesen: deutsche Fassung

Video· in German· 3:56

Is that AI already? The difference hardly anyone knows

Clicking the image or a chapter loads the video from YouTube. Your browser then sends data to Google, such as your IP address. Until then there is no connection to YouTube. More in the privacy policy.

How the episode is made: the voice is an AI clone of my own voice and the music is AI-generated, both produced locally on my computer. Ronny, the drawn robot, has no voice; his lines appear as text on screen. I am responsible for the content and the facts.

More episodes on YouTube: channel “Der KI-AUDITOR” · playlist “AI basics”

Calculator. Toaster. Spam filter. The filter that puts bunny ears on your face. The voice assistant on your phone. Which of them is AI? My AI Basics series starts with this question, and in the video, which is in German, Ronny has a clear opinion: all of them, even the toaster. Well, Ronny. The question sounds like school material. For companies it has become a very practical one since the EU AI Act. Anyone who wants to know which obligations may apply to them first has to know which of their systems are AI at all. This article sorts the examples from the video, shows where the AI Act draws the line and gives you four questions for your own inventory.

Rules that a person has written down

Let’s start with the calculator. You type two plus two and get four. Every time. A person programmed the arithmetic rules, and the calculator executes them. It has learned nothing. The toaster with a timer works the same way: two minutes, then the bread pops up. A fixed rule, even if the box perhaps says “smart”.

Such systems have a pleasant property. You can read their rules. Same input, same output. If something goes wrong, you look for the faulty rule and correct it. In manufacturing this is everyday life: a control that stops a machine as soon as a limit is exceeded follows a rule that a person programmed. You can read it, test it and approve it. In the office, too, a large part of the software works this way: accounting that books according to fixed posting rules, the spreadsheet with its formulas, the database query “all customers who bought product X last month”.

The weakness shows as soon as the world stops following the rule. People used to build spam filters with rules as well. If the subject line contains the word “free”, off to the spam folder. Then fraudsters wrote “fr3e” with a three, and the rule was worthless. Every new trick required a new rule, and somebody had to write it.

Rules that a machine derives from examples

Today it works differently. A learning spam filter receives a very large number of emails that people have marked as spam, and just as many normal ones. From them it finds the patterns by which spam can be recognised. Nobody writes the rule for it. It derives the rule from the examples. The European Commission uses exactly this example in its guidelines on the definition of an AI system: an AI-enabled spam filter, trained on emails that humans have labelled as spam or not spam, appears there as the model case of supervised learning.

The face filter is similar. Nobody has written down what every face in the world looks like. The system learned from a very large number of images where eyes, nose and mouth are. That is why it finds your face, although it has never seen you. The voice assistant learned from examples how to turn sound waves into words. The suggestions in your video app learned what people with similar behaviour like to watch.

The image recognition course CS231n at Stanford University describes the shift soberly. How to write down in program code what a cat looks like is anything but obvious. So you give the computer many examples of each category and let a learning algorithm work out what the categories look like. The course calls this the data-driven approach.

Remember the difference: in a normal program, a person writes the rules. In AI, the machine derives the rules itself.

What the AI Act means by an AI system

At its core the law sees it the same way. Article 3(1) of Regulation (EU) 2024/1689 defines the term as follows:

‘AI system’ means a machine-based system that is designed to operate with varying levels of autonomy and that may exhibit adaptiveness after deployment, and that, for explicit or implicit objectives, infers, from the input it receives, how to generate outputs such as predictions, content, recommendations, or decisions that can influence physical or virtual environments;

The key word is “infers”. Recital 12 explains what this comes down to. The definition is meant to distinguish AI from simpler traditional software systems or programming approaches. It should not cover systems that are based on the rules defined solely by natural persons to automatically execute operations. The calculator is therefore out, the learning spam filter is in.

The same recital adds a subtlety to the short formula from the video. It names two kinds of techniques that enable inference. The first is machine learning, in other words learning from data. The second is logic- and knowledge-based approaches that draw conclusions from encoded knowledge. An expert system into which specialists have entered their knowledge and which draws conclusions from it for new cases can therefore also be an AI system, although it has learned nothing from examples.

The Commission’s guidelines break the definition down into seven elements:

  • Machine-based: the system runs on computers, in other words on hardware and software.
  • Autonomy: it operates to some degree without human involvement.
  • Adaptiveness: it may keep learning after deployment, but it does not have to.
  • Objectives: it pursues explicitly defined or implicit objectives.
  • Inference: it infers from its input how to generate outputs.
  • Outputs: predictions, content, recommendations or decisions.
  • Influence: the outputs can influence physical or virtual environments.

Two points from this matter in practice. According to the guidelines, the elements do not all have to be present in every phase, so not at the same time during building and during use. And learning after deployment is explicitly not a requirement. A model that was trained once and has run unchanged since can therefore be an AI system.

The guidelines also name systems that are meant to fall outside the definition. These include basic data processing following fixed programmed rules, such as database queries or a spreadsheet without AI functions, classical heuristics such as a chess program that evaluates positions according to fixed scoring rules, simple prediction systems whose performance a basic statistical rule could also achieve, and systems that merely speed up well-established mathematical optimisation methods. The guidelines add two caveats straight away. They are not binding, and in the end only the Court of Justice of the European Union can give an authoritative interpretation of the Regulation. And an exhaustive list of what is AI and what is not is not possible. Each system is assessed on its architecture and functionality.

Why learned rules need to be checked

Why does the difference matter so much? A rule that a person has written can be read. With learned rules, often not even the manufacturer knows exactly why the system decides the way it does in an individual case. The rule is spread across a very large number of figures, and there is usually no readable line of code for it.

To avoid a false impression: a written rule can also be wrong, and then it is wrong every time it is applied. Its advantage is that it can be checked. You find the error in one line, fix it and can then show that it has been fixed.

On top of that, learned rules take over the errors in the examples. If the examples were one-sided, so is the rule. If people got it wrong when marking them, the system learns the mistake too. The next two episodes of the series show how this happens in concrete terms: what an AI actually sees in a photo, and how learning with an answer sheet works.

For me as an auditor this leads to a different kind of check. With a set of rules, I check the rules. With a learning system, I check the examples it learned from, the tests it was approved with and the monitoring in operation. That is why the first question is almost always: where do the examples come from, and who decided what is right? For purchased systems the provider answers it, in-house the person who introduced the system.

Episode 2 of the series: how a photo becomes a table of numbers and why a model once learned snow instead of wolf.

What AI really sees

What this means for your AI inventory

Many companies are currently setting up an inventory of their AI systems. The distinction in this article helps more than any product description. “Smart”, “intelligent” or “AI-powered” on a box prove nothing. What matters is how the system arrives at its outputs. Four questions usually get you a long way:

  • Did a person write down the rule the system executes, and can you read it?
  • Was the system trained with examples, or does it draw conclusions from stored expert knowledge?
  • Does it generate predictions, content, recommendations or decisions that have an effect?
  • Does it go beyond simple statistics, such as the average of the last few weeks?

If the answer to the first question is yes and to the others no, you are probably looking at conventional software. Otherwise the system goes on the list, in case of doubt with a note on why you classified it that way. For purchased programs, ask the manufacturer. They should be able to say what is working inside their product.

An example from the warehouse, freely chosen: the inventory management system offers an “intelligent order proposal”. If it calculates the average of the last twelve weeks, the guidelines would treat it as a simple prediction system. As an example of this they mention tomorrow’s temperature, estimated from last week’s average. If, on the other hand, the manufacturer has trained a model on sales data that weighs season, promotions and delivery times, the proposal goes on the list. The name in the menu is the same in both cases.

And don’t worry about the label. A system counting as AI does not mean that special obligations attach to it. The Commission’s guidelines stress that the vast majority of AI systems fall neither under the prohibitions in Article 5 nor under the rules for high-risk systems nor under the transparency obligations in Article 50. Classifying something as AI is the first step. What follows from it is settled by the second.

For the stocktake there is a free template you can fill in directly in the browser:

Template: AI system inventory

The task from the video works at home and in the office. Take your phone or your workplace and pick three functions. Ask yourself for each one: did a person write the rule here, or did the system learn it from examples? Which function were you least sure about?

Share: LinkedIn E-Mail

Frequently asked questions

Is every piece of software labelled “smart” an AI?+

No. What matters is how the system arrives at its outputs. If it only executes rules that a person has defined, it is not an AI system according to Recital 12 of the AI Act. If it infers its outputs from data or from stored knowledge, it can be one.

Is a spam filter AI?+

A spam filter that learns from emails marked by people is, in the European Commission’s guidelines, an example of an AI system using supervised learning. An old filter that only sorts by fixed keywords, on the other hand, works with rules that a person has written.

Is a spreadsheet AI?+

As a rule, no. The Commission’s guidelines count spreadsheets without AI functions as basic data processing following fixed programmed rules. If the program has a built-in AI function, such as an assistant that suggests formulas or texts, that function has to be looked at separately.

Do obligations under the AI Act attach to every AI system?+

Not to every one. According to the Commission’s guidelines, the vast majority of AI systems fall neither under the prohibitions in Article 5 nor under the rules for high-risk systems nor under the transparency obligations in Article 50. What applies in an individual case depends on the purpose and the role.

Author & expert review: Lars Zimmermann · ISO/IEC 42001 Senior Lead Auditor & Senior Lead Implementer · ISO/IEC 27001 Lead Auditor & Lead Implementer (PECB)

An auditor with shop-floor experience and managing director of a manufacturing company, who audits and builds AI management systems and information security. Author of “Stallgeruch” (in German). Verify the credential on Credly · More about me.

Last updated: 27 November 2026. Researched and reviewed to the best of my knowledge. This is my interpretation from practice. For legal advice, please turn to the appropriate professionals.

Questions about your own case?

In a free 15-minute intro call we assess where you stand on ISO 42001, ISO 27001 and the EU AI Act, honestly and without a sales pitch.

Continue reading