Where does Grafana Store Alert Rules

Hey team, anyone knows if it is possible to add predefined alert rules to grafana from configuration files? (just like dashboards) where does grafana keeps alert rules managed by Grafana?