Automatically Generating Rules of Malicious Software Packages via Large Language Model