Update rule.lua