def handle_recon_rule_params(inbound: dict) -> dict:
    """Handle the payload formatting for a single rule object."""
    returned_dict = {}
    if inbound.get("filter", None):
        returned_dict["filter"] = inbound.get("filter", None)
    if inbound.get("id", None):
        returned_dict["id"] = inbound.get("id", None)
    if inbound.get("name", None):
        returned_dict["name"] = inbound.get("name", None)
    if inbound.get("permissions", None):
        returned_dict["permissions"] = inbound.get("permissions", None)
    if inbound.get("priority", None):
        returned_dict["priority"] = inbound.get("priority", None)
    if inbound.get("topic", None):
        returned_dict["topic"] = inbound.get("topic", None)

    return returned_dict