Precompiled filters

Add support for precompiled filters
Yeah… I'm not really sure why I wrote that. Thanks for the catch. This function has been revamped though as of 7a58be5e2a0aeae2e170cc576befbb3a2e34878e