I write this not to rub it in, but to say several things clearly.
1. Law enforcement personnel are NOT the people from whom you should ask
legal advice.
2. Ignorance of the law is NO excuse. You now know how to research the
municipal codes.
3. When you get to court, you will get LAW, not JUSTICE.
4. I have read disgust and defiance in your posts. These feelings and
attitudes will hurt your case if you reveal them in court.
I recommend you hire a lawyer to review the law and any changes to it,
any new interpretations or challenges, successful or otherwise;
to examine the charges against you with an eye to challenging them
or asking for mercy, and to appear in court on your behalf.
5. Your lawyer should advise you according to whatever you believe
to be a successful outcome. For instance, you may be satisfied to have
the ticket voided and your air gun returned. Or, you may settle for having
the ticket dropped, yet forfeit your air gun. Do not expect the court will
scold or chastise the officer. You may get a lecture in court.
Take it gracefully.
6. You may also need the services of a lawyer to recover your air rifle,
if possible.
7. Check with the NRA for a lawyer familiar with Second Amendment
causes.
Here's a place to start looking for support outside your family:
http://www.cheyenneregulators.org/sr%20app%2007.pdf