Answer:
The Admin should Create a rule with three conditions, each that compares the configuration attribute filed with a static value.
In python 3.8, we can use a simple print statement.
print(('h0 '*3 +'Merry Christmas\n')*2)
When there is a need to make an unpopular decision such that your boss is asking to implement or do something but you were confused on his first instructions. It either for to proceed based on your initial evaluation. Then, you decided to proceed but the result is not your boss was expecting. The outcome was unsuccessful. Your boss nagged on you, what is the best thing you can do is to accept your mistake, learn from it and avoid recurrence of the same problem.
Pattern recognition is part of "Machine Learning" which is a computer science concept of teaching the program to adapt.
What kind of pattern are you looking to recognise? Do you want to code it yourself? What language are you programming in?