lua.wetgenes.gamecake.fun.yarn.rules.set
rule = rules.set(rule)
Set this base rule into the name space using rule.name which must be a string.
Multiple rules can be applied to an item and each rule will be applied in the order listed.
A rule is a table of named functions that can be applied to an item.
rule.setup(item)
Must setup the item so that it is safe to call the other rules on it.
rule.clean(item)
Should cleanup anything that needs cleaning.
rule.tick(item)
Should perform a single time tick update on the item.