I wrote this sentence. (excuse me for the repeated sentence)
However, if the user somehow could specify the context necessary to apply the rule (e.g. the page sidebar),then before removing such an element, context would be considered.
How can I say such phrases more formally, maybe:
if it was possible for the user to specify ....