Electoral rules for the European referendum