payment_pca = project.payment_rules.build(
      rule_attributes: {
        name:                "Payment rule pca",
        kind:                "payment",
        formulas_attributes: [