Does the fire rate for Bulwark of Harmony work if you're in an offensive war?
Solution 1:
Those two bonuses are independent:
You are getting +15% fire rate when you are within your borders. You are getting +33% ship build speed when you are in a defensive war. You are getting both when you are defending while within your borders.