Added type cache. Load rules from all assemblies

Added type cache. Can load rules from all assemblies now