Fxing the spof api to prevent merging rules when called directly