Lua rules

Add lua decoders and rules very close to complete but needs more work, but think other should start reviewing and helping out now.