Removed unused field rules function