Question: In the Maven Standard Directory Layout where do I put Rules Engine files? Specifically, I'm using JBoss Rules (Drools), if that matters.

Answer: 
The attribute that stores the classes in use is `className`.

So you can say:

```
if (document.body.className.match(/\bmyclass\b/)) {
    ....
}

```

If you want a location that shows you how jQuery does everything, I would suggest:

<http://code.jquery.com/jquery-1.5.js>
Use something like:

```
Array.prototype.indexOf.call(myHTMLSelector.classList, 'the-class');

```