Helper function for rule dynamic loading