firefox rules and some space rearrangment