Move storing laps rule into Lua.