Refactor feature_gate.rs
into modules & cleanup
#63824
Merged
feature_gate.rs
into modules & cleanup
#63824