added a function to pre-process rules into a YR_RULES struct. also added a new entry point API that takes in a pointer to said struct instead of a pointer to a raw (uncompiled) set of rules