Changelog:
============
-makes it an error to assign settings = settings(...) as a class attribute on a
RuleBasedStateMachine.
-refactors some internals.
(From OE-Core rev: f17603daac0ad98f5c7a4f56ca8e23b2b16cd9ed)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>