Majority Weighting Rule

In this alteration of the Wolfram Alpha Cellular Automata, two rules are applied to each neighbourhood. While there are less cells alive than not, only either rule needs to return true for the cell to be alive. If there are more cells alive than not, both rules need to return true.

You can choose the rules by entering the numbers in the input fields.