lua.wetgenes.gamecake.fun.yarn.rules.apply
item = rules.apply(item,method,...)
item.rules must be a list of rule names and the order in which they should be applied to this item.
Call the given method in each rule with the item and the remaining arguments.
If the method returns a value then no more methods will be applied even if more rules are listed.
We always return the passed in item so that calls can be chained.
item = item:apply(method,...)
This function is inserted into the items.metatable so it can be called directly from an item.