Create rule loader