"legislation that banned cosmetic features of certain types of rifles." . . . .