
(rules PCB OpenChargeMicro
  (snap_angle 
    fortyfive_degree
  )
  (autoroute_settings
    (fanout off)
    (autoroute on)
    (postroute on)
    (vias on)
    (via_costs 50)
    (plane_via_costs 5)
    (start_ripup_costs 100)
    (start_pass_no 7920)
    (layer_rule F.Cu
      (active on)
      (preferred_direction horizontal)
      (preferred_direction_trace_costs 1.0)
      (against_preferred_direction_trace_costs 3.2)
    )
    (layer_rule B.Cu
      (active on)
      (preferred_direction vertical)
      (preferred_direction_trace_costs 1.0)
      (against_preferred_direction_trace_costs 1.5)
    )
  )
  (rule
    (width 152.4)
    (clear 152.6)
    (clear 76.2 (type smd_to_turn_gap))
    (clear 38.2 (type smd_smd))
  )
  (padstack "Via[0-1]_449.834:199.898_um"
    (shape
      (circle F.Cu 449.8 0.0 0.0)
    )
    (shape
      (circle B.Cu 449.8 0.0 0.0)
    )
    (attach off)
  )
  (padstack "Via[0-1]_508:299.974_um"
    (shape
      (circle F.Cu 508.0 0.0 0.0)
    )
    (shape
      (circle B.Cu 508.0 0.0 0.0)
    )
    (attach off)
  )
  (padstack "Via[0-1]_599.948:299.974_um"
    (shape
      (circle F.Cu 600.0 0.0 0.0)
    )
    (shape
      (circle B.Cu 600.0 0.0 0.0)
    )
    (attach off)
  )
  (via 
    "Via[0-1]_449.834:199.898_um" "Via[0-1]_449.834:199.898_um" default
  )
  (via 
    "Via[0-1]_508:299.974_um" "Via[0-1]_508:299.974_um" default
  )
  (via 
    "Via[0-1]_599.948:299.974_um" "Via[0-1]_599.948:299.974_um" default
  )
  (via 
    "Via[0-1]_449.834:199.898_um-kicad_default" "Via[0-1]_449.834:199.898_um" "kicad_default"
  )
  (via 
    "Via[0-1]_508:299.974_um-kicad_default" "Via[0-1]_508:299.974_um" "kicad_default"
  )
  (via 
    "Via[0-1]_599.948:299.974_um-kicad_default" "Via[0-1]_599.948:299.974_um" "kicad_default"
  )
  (via 
    "Via[0-1]_449.834:199.898_um-Charge" "Via[0-1]_449.834:199.898_um" Charge
  )
  (via 
    "Via[0-1]_508:299.974_um-Charge" "Via[0-1]_508:299.974_um" Charge
  )
  (via 
    "Via[0-1]_599.948:299.974_um-Charge" "Via[0-1]_599.948:299.974_um" Charge
  )
  (via 
    "Via[0-1]_449.834:199.898_um-Power" "Via[0-1]_449.834:199.898_um" Power
  )
  (via 
    "Via[0-1]_508:299.974_um-Power" "Via[0-1]_508:299.974_um" Power
  )
  (via 
    "Via[0-1]_599.948:299.974_um-Power" "Via[0-1]_599.948:299.974_um" Power
  )
  (via_rule
    default "Via[0-1]_449.834:199.898_um"
  )
  (via_rule
    "kicad_default" "Via[0-1]_449.834:199.898_um-kicad_default"
  )
  (via_rule
    Charge "Via[0-1]_508:299.974_um-Charge"
  )
  (via_rule
    Power "Via[0-1]_599.948:299.974_um-Power"
  )
  (class default
    (clearance_class default)
    (via_rule default)
    (rule
      (width 152.4)
    )
    (circuit 
      (use_layer F.Cu B.Cu)
    )
  )
  (class "kicad_default"
    "Net-(BZ1-Pad1)" "Net-(D1-Pad1)" "Net-(D1-Pad2)" "Net-(D2-Pad1)" "Net-(D2-Pad2)" "Net-(D3-Pad2)" "Net-(D3-Pad1)" "Net-(D4-Pad1)"
    "Net-(D4-Pad2)" "Net-(D5-Pad2)" "Net-(D5-Pad1)" "Net-(D6-Pad2)" "Net-(D6-Pad1)" "Net-(D7-Pad1)" "Net-(D7-Pad2)" "Net-(D8-Pad2)"
    "Net-(D8-Pad1)" vRx vTx SCL SDA "Net-(J4-Pad6)" Tx Rx
    "Net-(Q1-Pad2)" "Net-(Q2-Pad1)" "Net-(R1-Pad2)" "Net-(R2-Pad2)" Ain05 Ain06 "Net-(R5-Pad1)" Ain08
    "Net-(R6-Pad1)" Ain07 Buzzer PowerOn Ain01 Ain02 Ain03 Ain04
    "5V_Probe" "Net-(R21-Pad2)" "Net-(R21-Pad1)" "Net-(R22-Pad2)" "Net-(R23-Pad2)" "Net-(R24-Pad2)" "Net-(R24-Pad1)" "Net-(R25-Pad2)"
    "Net-(R26-Pad2)" "Net-(R27-Pad1)" "Net-(R27-Pad2)" "Net-(R28-Pad2)" "Net-(R29-Pad2)" "Net-(R30-Pad2)" "Net-(R30-Pad1)" "Net-(R31-Pad2)"
    "Net-(R32-Pad2)" "Net-(R33-Pad2)" "Net-(R34-Pad2)" "Net-(R35-Pad2)" "Net-(R36-Pad2)" "Net-(R37-Pad2)" "Net-(R38-Pad2)" "Net-(R39-Pad2)"
    "Net-(R40-Pad2)" "15V_Probe" Current02 Current03 Current04 Current01 Z S2
    S1 S0
    (clearance_class "kicad_default")
    (via_rule kicad_default)
    (rule
      (width 152.4)
    )
    (circuit 
      (use_layer F.Cu B.Cu)
    )
  )
  (class Charge
    Vbat01 Vbat02 Vbat03 Vbat04 Charge5V "Net-(J10-Pad1)" "Net-(J12-Pad1)" "Net-(J16-Pad1)"
    "Net-(J14-Pad1)"
    (clearance_class Charge)
    (via_rule Charge)
    (rule
      (width 300.0)
    )
    (circuit 
      (use_layer F.Cu B.Cu)
    )
  )
  (class Power
    GND +5V +3V3 15V
    (clearance_class Power)
    (via_rule Power)
    (rule
      (width 400.0)
    )
    (circuit 
      (use_layer F.Cu B.Cu)
    )
  )
)